package com.jie.demo1.Sservice.impl;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.jie.demo1.Sservice.UserService;
import com.jie.demo1.mapper.UserMapper;
import com.jie.demo1.pojo.User;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class UserServiceImpl extends ServiceImpl<UserMapper, User> implements UserService {

@Autowired
private UserMapper userMapper;
    @Override
    public IPage manualListPage(IPage<User> userPage) {
        return userMapper.pageList(userPage);
    }
}
